package com.cyx.exam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cyx.exam.entity.Class;

import java.util.List;

/**
 * @author cyx
 * @create 2021-03-22 16:39
 */
public interface ClassService extends IService<Class> {
    IPage<Class> selectByPage(int start, int size);//分页显示全部

    IPage<Class> searchByPage(int start, int size, String name);//按name分页查询

    public int delete(Integer id);

    public List<String> getClassNameList();//获取名字列表
}
